#!/usr/bin/python
# -*- coding: utf8 -*-

def make_tuple(s):
    if isinstance(s, list) or isinstance(s, tuple):
        t = tuple(s)
    else:
        t = tuple([s])
    return t

def sub_words(words, range):
    return u' '.join(words[range[0]:range[1] + 1])

def check_type(o, t):
    if not isinstance(o, t):
        raise
